<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>login.jsp</title>
<style>
body{
      background:url(bg.jpg);
      color:#fff;
      text-align:center;
}
div{
      background:rgba(238,238,238,0.3);
      width:300px;
      padding:5px 7px 5px 7px;
      margin:15% auto 0 auto;
      border:1px solid #fff;
      border-radius:5px;
}
input{
      height:23px;
      background:rgba(238,238,238,0.4);
      margin-bottom:15px;
      color:#fff;
      font-size:15px;
}
.text{
      width:150px;
}
.button{
      margin-left:20px;
      font-weight:bold;
}
</style>
</head>
<body>
<div>
     <h2>用户登录</h2>
     <form action="login_check.jsp" method="post">
          <b>用户：</b><input class="text" type="text" name="username"><br>
          <b>密码：</b><input class="text" type="password" name="password"><br>
          <input class="button" type="submit" value="登录">&nbsp;&nbsp;
          <input class="button" type="button" value="注册" onclick="window.location='register.jsp'" >
     </form>
     </div>
</body>
</html>